﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace VCampusV10
{
    public partial class RoadInfoWindow : Form
    {        
        public RoadInfoWindow(Entity.RoadInfo info)
        {
            InitializeComponent();
            this.NameLab.Text = info.Name;
            this.LengthLab.Text = info.Length.ToString()+"米";
            this.RoadLevLab.Text = "级别 "+info.Level.ToString();

        }

        private void OkBtn_Click(object sender, EventArgs e)
        {
            this.Close();
        }
    }
}
